package com.joshua.newsdemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class WebviewAty extends AppCompatActivity {
    private static final String URL = "http://news.xidian.edu.cn/info/2106/196128.htm";

    private OWebView webView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_webview_aty);

        webView = (OWebView) findViewById(R.id.web_view);
        webView.loadDetailDataAsync(URL);
    }
}
